<div class="container">
<link rel="stylesheet" href="//g.alicdn.com/de/prismplayer/1.7.6/skins/default/index.css" />
<script type="text/javascript" src="//g.alicdn.com/de/prismplayer/1.7.6/prism.js"></script>
<div class="row">
	<div class="col-md-9">
		<div class="Content-box">
			    <h2 class="Content-title"><?php echo $Vod['Vod']['name']; ?></h2>
			    <div class="Content-info">
					{{substr($Vod['Vod']['created'],0,16)}}  &nbsp;&nbsp; 
					
			 	</div>
			    {{if !empty($_SESSION['Auth']['Staff']) }}
			    	<div style="margin:10px 0;">
			    		<a class="btn btn-primary" href="{{Router::url('/manage/admin/videos/edit/'.$Vod['Vod']['id'])}}" target="_blank">{{__('Edit')}}</a>
			    		&nbsp;
			    		<a class="btn btn-warning" onclick="if(confirm('{{lang('are_you_sure_to_delete')}}')){ajaxAction(ADMIN_BASEURL+'/admin/videos/delete/{{$Vod['Vod']['id']}}');}" href="javascript:void(0)">{{__('Delete')}}</a>
			    	</div>
			 	{{/if}}  
			    <div class="Content-body clearfix">
	
	{{if $Vod['Vod']['summary']}}			    
	<section style="white-space: normal;font-size: 14px; line-height: 25px; margin: 2px auto; padding: 15px; border: 2px dashed #dedcde;max-width: 100%;">
        <p>
            {{$Vod['Vod']['summary']}}
        </p>
    </section>
    <br/>
    {{/if}}

     <div  class="prism-player" id="J_prismPlayer"></div>
        <script>
            var player = new prismplayer({
            id: 'J_prismPlayer',
            width: '100%',
            autoplay: false,        
            rePlay:false,   
            //播放方式一：推荐
            vid : "{{$Vod['Vod']['video_id']}}",
            playauth : '{{$playAuth}}',
            showBarTime: 5000,
            cover: '{{$cover}}'
            });

            player.on('ended',function  (e) {
            });

        </script>

			    	<?php echo $Vod['Vod']['content']; ?>
			    	
			    	<p style="font-size: 14px;margin-top: 30px;">
				    	{{if $Vod['Vod']['view_nums']}}
				    	{{__('Pageview')}} <span class="ui-stats-num" id="Stats-Vod-{{$Vod['Vod']['id']}}-view_nums"><?php echo $Vod['Vod']['view_nums']; ?></span>
				    	{{/if}}
			    	</p>
			    	    
		        {{$this->Hook->call("affterContent",array('Vod',$Vod['Vod']['id']))}}
			</div>
		<!-- <div id="dialog-share" style="display:none;" title="{{lang('tips')}}">
			<div class="ui-pop-tips"><span class="ico ico-success" style="float:left;"></span><div class="tips-cnt">发表观点成功，是否也分享给您的好友？</div></div>
		</div>-->
		</div>
	</div>
	
	<div class="col-md-3">		
		
	</div>
</div>
</div>

